#include "render_pipeline.h"
#include "input_pipeline.h"
#include "obj_window.h"
#include "cgame.h"

int main(){
	draw_scene();
	cgame game;
	
	int quit=0;
	while( (kb(KB_QUIT)|kb(KB_ESCAPE)) ==0)
	{
		quit++;
		//While there are events to handle
		game.update();
		game.draw();
		draw_scene();
		kb_up();
	}
	
	SDL_Quit();


}
